package com.tengju.user.application.archives.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "BatchStarAuditUpdateDTO", description = "星级审批结果批量修改参数对象")
public class BatchStarAuditUpdateDTO implements Serializable {

    /** */
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("审批记录id列表")
    @NotNull(message = "记录不能为空")
    @Size(min = 1, message = "最少选择一条记录")
    private List<Long> idList;

    @ApiModelProperty("审核结果：10:审核通过 20:审核拒绝")
    @NotNull(message = "审核结果不能为空")
    private Integer auditStatus;

    @ApiModelProperty("审核描述")
    private String auditDesc;

}
